home *** CD-ROM | disk | FTP | other *** search
- on initmainmap
- repeat with i = 9 to 15
- puppetSprite(i, 1)
- end repeat
- end
-
- on allSpritesOff
- repeat with i = 1 to 48
- puppetSprite(i, 0)
- end repeat
- end
-
- on mainrolls
- theh = the locH of sprite 2
- theV = the locV of sprite 2
- repeat with i = 9 to 15
- set the locH of sprite i to theh
- set the locV of sprite i to theV
- end repeat
- updateStage()
- repeat with i = 9 to 15
- if rollOver(i) then
- theCast = cast(the castNum of sprite i).name
- set the castNum of sprite i to the number of member (theCast & "1")
- updateStage()
- repeat while rollOver(i)
- end repeat
- set the castNum of sprite i to the number of member theCast
- updateStage()
- end if
- end repeat
- end
-
- on initwharf
- repeat with i = 10 to 13
- puppetSprite(i, 1)
- end repeat
- end
-
- on wharfrolls
- theh = the locH of sprite 2
- theV = the locV of sprite 2
- repeat with i = 10 to 13
- set the locH of sprite i to theh
- set the locV of sprite i to theV
- end repeat
- updateStage()
- repeat with i = 10 to 13
- if rollOver(i) then
- theCast = cast(the castNum of sprite i).name
- set the castNum of sprite i to the number of member (theCast & "1")
- updateStage()
- repeat while rollOver(i)
- end repeat
- set the castNum of sprite i to the number of member theCast
- updateStage()
- end if
- end repeat
- end
-